package com.example.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zrr
 * @since 2022-12-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("plant_category")
public class PlantCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "plant_category_id", type = IdType.AUTO)
    private Long plantCategoryId;

    private String plantCategoryName;

    /**
     * 在该分类下的植物总数
     */
    private Long plantNum;


}
